/*
 * Material.cpp
 *
 *  Created on: May 27, 2011
 *      Author: Ernest Mashele <mashern@gmail.com>
 */

#include "material.h"

namespace pod
{
	Material::Material()
	{
		ambient = D3DXVECTOR4(0.2f, 0.2f, 0.2f, 0.2f);
		specular = D3DXVECTOR4(1.0f, 1.0f, 1.0f, 1.0f);
		diffuse = D3DXVECTOR4(0.8f, 0.8f, 0.8f, 1.0f);
		alpha = 1.0f;
		specularPower = 32.0f;
		illum = 2;
		isTextured = false;
		resourceIndex = 0;
		ZeroMemory(diffuseMap, MAX_PATH);
		ZeroMemory(name, MAX_PATH);
	}

	Material::~Material()
	{
	}
}